<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>nimi导航</title>
    <script src="./vue.global.js"></script>
    <script src="//variables.oss-cn-hangzhou.aliyuncs.com/__/mini_nav/%24V_MINI_NAV.js"></script>
</head>

<body>
    <style>
        body {
            background-color: #fbfbfb;
        }

        #app {
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 100%;
            min-height: 100vh;
            color: #303030;
        }

        h3 {
            margin: 0;
        }

        .com-content {
            padding: 20px;
            border-radius: 10px;
            background-color: #fff;
            box-sizing: border-box;
            width: 100%;
            max-width: 940px;
        }

        .top {
            width: 100%;
            margin-bottom: 20px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }

        .top>.class {
            display: flex;
            flex-direction: column;
            margin-bottom: 20px;
        }

        .top>.class>h3 {
            margin-bottom: 20px;
        }

        .top>.class>.list {
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            justify-content: center;
        }

        .le {}

        .a_item {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin: 10px;
        }

        .a_item>img {
            width: 50px;
            height: 50px;
            /* border-radius: 50%; */
            margin-bottom: 10px;
        }
    </style>
    <div id="app">
        <h1>MINI导航</h1>
        <div class="top">
            <div class="class com-content" v-for="(item,index) in list" :key="index">
                <h3>{{item.title}}：</h3>
                <div class="list">
                    <a :href="item_1.href" target="_blank" class="a_item" v-for="(item_1,index_1) in item.list"
                        :key="index_1">
                        <img v-if="item_1.icon" :src="item_1.icon" alt="">
                        {{item_1.name}}
                    </a>
                </div>
            </div>
        </div>
        <div class="le com-content">
            <h3>友情链接：</h3>
            <div class="list">
                <a :href="item.href" target="_blank" class="a_item" v-for="(item,index) in linkExchange" :key="index">
                    <img v-if="item.icon" :src="item.icon" alt="">
                    {{item.name}}
                </a>
            </div>
        </div>
    </div>
    <a href="https://web-vars.top/var/index/__/mini_nav" target="_blank">后台编辑</a>
    <script src="./index.js"></script>
</body>

</html>